package com.ruoyi.predict2.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 岗位预测记录对象 bole_script_prediction_record2
 * 
 * @author ruoyi
 * @date 2025-08-17
 */
public class BoleScriptPredictionRecord2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 预测单号（唯一标识，如：PRED20250803001） */
    @Excel(name = "预测单号", readConverterExp = "唯=一标识，如：PRED20250803001")
    private String predictionNo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String predictionInfo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String predictionResult;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 预测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date predictionTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPredictionNo(String predictionNo) 
    {
        this.predictionNo = predictionNo;
    }

    public String getPredictionNo() 
    {
        return predictionNo;
    }
    public void setPredictionInfo(String predictionInfo) 
    {
        this.predictionInfo = predictionInfo;
    }

    public String getPredictionInfo() 
    {
        return predictionInfo;
    }
    public void setPredictionResult(String predictionResult) 
    {
        this.predictionResult = predictionResult;
    }

    public String getPredictionResult() 
    {
        return predictionResult;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPredictionTime(Date predictionTime) 
    {
        this.predictionTime = predictionTime;
    }

    public Date getPredictionTime() 
    {
        return predictionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("predictionNo", getPredictionNo())
            .append("predictionInfo", getPredictionInfo())
            .append("predictionResult", getPredictionResult())
            .append("userId", getUserId())
            .append("predictionTime", getPredictionTime())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
